Integrate using the Processor API

This section explains how to use the Processor API to get started with your integration.

The instructions show you how to manually create a payment using the initiatePayment API method , capture using the captureReservation method, and finally view the XML response of the capture.

Before you get started, make sure you have access to the test gateway at https://testgateway.altapaysecure.com, and that you have your user name and password.

Create a new payment

  1. Log in to the Merchant Information Interface.
  2. Click Home > Terminal Settings, and copy the terminal name. (In the example, the terminal name is Sander Improvement Software AB Test Terminal.)
  3. Paste the following URL in your browser, replacing TerminalName with your terminal name: 
    https://testgateway.altapaysecure.com/processor/API/initiatePayment?terminal=TerminalName&shop_orderid=0001&amount=250.0&currency=EUR&payment_source=eCommerce&cardnum=4111111111111111&emonth=12&eyear=2018&type=payment

    The XML result is displayed. In this example, the credit card is not enrolled with 3D Secure. For more information about 3D Secure, see Payment flow process (Processor API).

  4. Log in to the Merchant Information Interface again, and click Operations > Search. Select your test terminal from the Terminal dropdown menu and click the Apply button to list all transactions:

    Make a note of the Payment ID.

Capture the payment and view the XML response

  1. Paste the following URL in your browser, where you replace PAYMENTID with the Payment ID of the transaction you just created:
    https://testgateway.altapaysecure.com/processor/API/captureReservation?transaction_id=PAYMENTID
  2. The XML response is displayed, showing you details about the captured payment. You can also view the XML response using the Merchant Information Interface. For more information, see View the XML response in the Merchant Information Interface.

You have now successfully created a payment request, and captured the resulting reservation. You can also use the Merchant Information Interface to capture reservations. For more information, and instructions, see Capturing and Releasing Payments.